package cn.rxls.community.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 账单(Bill)表实体类
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("bill")
public class Bill {
    @TableId(type = IdType.ASSIGN_ID)
    //主键id    
    private Long billId;

    //用途描述
    private String billMsg;
    //账单金额
    private Long billPrice;
    //实际付款金额
    private Long billActualPayment;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date updateTime;
    //所属用户id
    private Long billUser;
    //账单类型
    private String billCategory;
    //状态 
    private Integer billState;
    //支付方式
    private Integer paymentMethods;
    //账单细节、json字符串
    private String billSpecifics;
    //支付时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date billPayTime;
}
